Skip to content

Conversation

mattmikolay
Copy link
Contributor

@mattmikolay mattmikolay commented Aug 11, 2025

Description

This PR enables the use of branches with SlackKit by updating the useSlackAuth hook to include a branch_slug in the encoded state param.

Checklist

  • Tests have been added for new features or major refactors to existing features.

Screenshots or videos

Loom demo

@linear
Copy link

linear bot commented Aug 11, 2025

@changeset-bot
Copy link

changeset-bot bot commented Aug 11, 2025

🦋 Changeset detected

Latest commit: b044d8c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 11 packages
Name Type
slack-connect-example Patch
@knocklabs/react-core Patch
@knocklabs/react Patch
@knocklabs/expo Patch
@knocklabs/react-native Patch
guide-example Patch
ms-teams-connect-example Patch
nextjs-app-dir-example Patch
nextjs-example Patch
slack-kit-example Patch
@knocklabs/expo-example Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link

vercel bot commented Aug 11, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Project Deployment Preview Comments Updated (UTC)
javascript-ms-teams-connect-example Ready Preview 💬 Add feedback Aug 11, 2025 9:43pm
javascript-nextjs-example Ready Preview 💬 Add feedback Aug 11, 2025 9:43pm
javascript-slack-connect-example Ready Preview 💬 Add feedback Aug 11, 2025 9:43pm
javascript-slack-kit-example Ready Preview 💬 Add feedback Aug 11, 2025 9:43pm

@mattmikolay mattmikolay changed the title Include branch in useSlackAuth state param feat(KNO-9339): enable use of branches with SlackKit Aug 11, 2025
Copy link
Contributor Author

mattmikolay commented Aug 11, 2025

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@codecov
Copy link

codecov bot commented Aug 11, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 63.35%. Comparing base (6adce9f) to head (b044d8c).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@                                               Coverage Diff                                                @@
##           mattmik-kno-9338-javascript-sdks-add-support-for-x-knock-branch-header-to-js     #703      +/-   ##
================================================================================================================
+ Coverage                                                                         63.34%   63.35%   +0.01%     
================================================================================================================
  Files                                                                               181      181              
  Lines                                                                              7221     7223       +2     
  Branches                                                                            853      853              
================================================================================================================
+ Hits                                                                               4574     4576       +2     
  Misses                                                                             2621     2621              
  Partials                                                                             26       26              
Files with missing lines Coverage Δ
...react-core/src/modules/slack/hooks/useSlackAuth.ts 96.62% <100.00%> (+0.07%) ⬆️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants